package cn.edu.hbwe.book.dao;

import java.sql.ResultSet;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.ResultSetHandler;

import cn.edu.hbwe.book.entity.Order;
import cn.edu.hbwe.book.entity.OrderItem;
import cn.edu.hbwe.book.entity.Book;
import cn.edu.hbwe.book.utils.C3p0Util;
import cn.edu.hbwe.book.utils.DBCPUtil;


public interface OrderItemDao {

	public List<OrderItem> findOrderItemByOrder(Order order) throws SQLException;
	//根据获取到的订单id删除订单
	public void delOrderItems(String id) throws SQLException;
	
	//添加订单
	public void addOrderItem(Order order) throws SQLException;


}



